#pragma once

#include <XBDrive/global.h>

class IntSetting;

extern IntSetting *pose_pid_p;
extern IntSetting *pose_pid_i;
extern IntSetting *pose_pid_d;

extern IntSetting *one_full_step_delay_ms;
extern IntSetting *motor_full_steps_per_rev;
extern IntSetting *half_current_time_ms;

extern IntSetting *closed_loop_mode_current_max_ma;
extern IntSetting *open_loop_mode_current_max_ma;
extern IntSetting *calibration_mode_current_max_ma;
extern IntSetting *lowpass_filtering_a;
extern IntSetting *lowpass_filtering_b;

void make_settings();
Error do_command_or_setting(const char* key, char* value, char* out);
